package edu.sctu.xialei.May.day20150518two.practice;



/**
 * Created by user13 on 2015/5/17.
 */
public class Teachers {
    public Teacher[] TeacherMessage() {

       Teacher[] teacherArray = new Teacher[5];
       Teacher tea1 = new Teacher();
        Teacher tea2 = new Teacher();
        Teacher tea3 = new Teacher();
        Teacher tea4 = new Teacher();
       Teacher tea5 = new Teacher();
        Students student = new Students();

        teacherArray[0] = tea1;
        teacherArray[1] = tea2;
        teacherArray[2] = tea3;
        teacherArray[3] = tea4;
        teacherArray[4] = tea5;

        teacherArray[0].setTeacher(10086, "冯老师", "教授", "男", "大学计算机", student.get1());


        teacherArray[1].setTeacher(10088, "张老师", "博士", "女", "高数", student.get2());


        teacherArray[2].setTeacher(10087, "刘老师", "博士", "男", "英语", student.get3());


        teacherArray[3].setTeacher(10089, "黄老师", "副教授", "女", "数据结构", student.get4());


        teacherArray[4].setTeacher(10090, "陈老师", "教授", "男", "语文", student.get5());

        return teacherArray;
    }
}
